-- GENERATED SPELL FOR [Alliance Halaani Guard] --


function spell0_18256(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(23337,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18256', 554, 1)
end

function Sorts_18256(pUnit, Event)
local choix_sorts_18256 = math.random(0, 0)
if choix_sorts_18256 == 0 then
pUnit:RegisterEvent('spell0_18256', 1, 1)
end
end

function mob18256_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18256', math.random(1500, 3000), 1)
end

function mob18256_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18256_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18256_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18256, 1, 'mob18256_Action')
RegisterUnitEvent(18256, 2, 'mob18256_Leave')
RegisterUnitEvent(18256, 3, 'mob18256_Kill')
RegisterUnitEvent(18256, 4, 'mob18256_Die')
